﻿using mars_server.csharp.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mars_server.csharp.AO
{
    public interface RelationAO
    {
        /**
         * 获取userId所有相关的RelationDO
         * */
        List<UserDO> queryFriendDOsByUserId(long userId);


        /**
         * 添加用户好友
         * */
        bool addFriend(long userId, long FriendId);


        bool isFriendRelation(long userId, long FriendId);

        bool deleteRelationByRelationDO(long userId, long FriendId);


    }
}
